package handler;

import com.tydic.open.DopApiV2;

/**
 * @ClassName Login
 * @Description TODO
 * @Author zxf
 * @DATE 2018/11/21
 */
public class Login {

    public   DopApiV2  login_dcoss(){
        String appKey = "37640998234da0f0e48cc51dc47b4318";
        String appSecret = "fda2a4f7f9e34755708a1c1d48360785";// 必须16位

        appSecret = appSecret.substring(0,16);

        DopApiV2 sdk = new DopApiV2(appSecret,appKey);

        String serverName = "http://10.142.101.156/openapi";
        sdk.setServerName(serverName);
        return  sdk;
    }

}
